import foo from './foo'
// import $ from "jquery"
import './style.css'
import logo from './lufei.jpg'

foo.bar()

import('jquery').then($ => {
    $(document.body).append('<h1>Hello world</h1>')
    $(document.body).append(`<img src=${logo} />`)
})

if (module.hot) {
    module.hot.accept(() => {
        console.log('hmr')
    })
}